GtkScale: Fix marks for inverted scales
authorMatthias Clasen <mclasen@redhat.com>
Sun, 15 Jan 2012 19:09:54 +0000 (14:09 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 15 Jan 2012 19:13:10 +0000 (14:13 -0500)
commiteb4a685691ee3440aa9d6d100be9c5ef2d850b04
treedbd125a8392cc6323cac8a73affc5bb8a17cc01b
parentfa7207dcddffaedaeb3dc8037e01dd7102547a90
GtkScale: Fix marks for inverted scales

Problem pointed out by Stefan Sauer in bug 667598. The solution
here is different from his patch. We always draw marks in increasing
direction, and flip the marks and stop positions to match.
gtk/gtkscale.c